package lab02.test6;
import lab02.test2.Round;

import java.util.Scanner;

public class test {
    public static void main(String[] args) {
        Triangle triangle=new Triangle();
        Scanner in=new Scanner(System.in);
        System.out.println("请输入三角形的三边：");
        triangle.setLength1(in.nextDouble());
        triangle.setLength2(in.nextDouble());
        triangle.setLength3(in.nextDouble());
        triangle.judge();

       Ladder ladder=new Ladder();
        Scanner sc=new Scanner(System.in);
        System.out.println("请输入梯形的上底、下底、高：");
        ladder.setHigh(in.nextDouble());
        ladder.setSideLine(in.nextDouble());
        ladder.setUpperBase(in.nextDouble());
        ladder.count();

       Circle circle=new Circle();
        System.out.print("请输入圆的半径：");
        Scanner s = new Scanner(System.in);
        double radius = s.nextDouble();
        circle.setRadius(radius);
        circle.count();
    }
    }

